package cn.mado.org.service;


import cn.mado.basic.note.SysLog;
import cn.mado.basic.util.PageList;
import cn.mado.org.domain.Writer;
import cn.mado.org.query.WriterQuery;

import java.util.List;

public interface WriterService {
    ///删除
    void deleteWriterById(Long writerId);
    //新增
    void addWriter(Writer writer);
    //修改
    void updateWriter(Writer writer);
    //查询
    List<Writer> findAll();
    //单条查询
    Writer findWriterById(Long writerId);
    //分页查询
    PageList<Writer> queryByPage(WriterQuery writerQuery);


}
